package com.example.jetpacktest.databinding;

import com.example.jetpacktest.BR;

import androidx.databinding.BaseObservable;
import androidx.databinding.Bindable;

class InputObservable extends BaseObservable {
    public String name;

    public InputObservable(String name) {
        this.name = name;
    }

    @Bindable
    public String getName() {
        return name;
    }

    public void setName(String name) {
        if (name != null) {
            this.name = name;
            notifyPropertyChanged(BR.name);
        }
    }
}
